home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 009 / dissqash.pat < prev    next >
Text File  |  1987-02-07  |  3KB  |  82 lines

  1. By default, PKARC 2.0 will "squash" a file if this compression
  2. technique would appear to be optimal for that file.  While I
  3. personally do not think it is desirable to change this, this patch is
  4. presented at the request of others who disagree.
  5.  
  6. However, PLEASE DO NOT distribute PKARC 2.0 if it has been patched as
  7. shown in this document.  Not only can this create problems for
  8. recipients of the program that are not aware that the program has
  9. been patched, but it is also in strict violation of the license
  10. agreement in PKARC to distribute the program in modified form.
  11.  
  12. PKWARE INCORPORATED RESERVES THE RIGHT TO FIND ANYONE WHO DISTRIBUTES
  13. PKARC IN MODIFIED FORM WITHOUT EXPRESS WRITTEN CONSENT FROM PKWARE
  14. INCORPORATED TO BE IN VIOLATION OF THE SOFTWARE LICENSE AGREEMENT AND
  15. LIABLE FOR DAMAGES.
  16.  
  17. Using DEBUG, change the byte at offset F25 hex in the file PKARC.COM,
  18. version 2.0, dated 12-15-86.  The value in the distribution copy is
  19. 75 hex.
  20.  
  21. Changing this value will yield the results shown:
  22.  
  23. Byte at F25     Program Behavior
  24. ------------    ----------------
  25.  
  26.     75          This is the 'normal' value.  Squashing will be
  27.                 performed by default, when it is optimal.
  28.  
  29.     74          Reverses the meaning of the "/oc" flag.  By default
  30.                 squashing will NOT be performed.  Specifying "/oc"
  31.                 on the command line will ENABLE squashing when it
  32.                 is optimal.
  33.  
  34.     EB          Permanently disables squashing.  Squashing will
  35.                 never be performed, regardless if the "/oc" flag is
  36.                 specified or not.
  37.  
  38. WARNING: Changing the value of this byte to any other value will cause
  39. unpredicatble program operation.
  40.  
  41.  
  42.  
  43. The following example session with debug will change the value to 74.
  44.  
  45. Enter
  46.  
  47. debug pkarc.com<CR>
  48.  
  49. where <CR> means the enter key.  Debug will display a "-" prompt.  Then enter
  50.  
  51. ef25<CR>.
  52.  
  53. Debug will display something like "xxxx:0F25  75.".  The xxxx value will
  54. vary from computer to computer.  Debug should display the number 75 as
  55. above.  If this value is not 75, then you do not have PKARC 2.0 and
  56. should not continue.  Enter
  57.  
  58. 74<CR>
  59.  
  60. followed by
  61.  
  62. w<CR>
  63.  
  64. and then
  65.  
  66. q<CR>.
  67.  
  68.  
  69. The result should appear similar to:
  70.  
  71. A>debug pkarc.com
  72. -ef25
  73. xxxx:0F25  75.74
  74. -w
  75. Writing 4430 bytes
  76. -q
  77. A>
  78.  
  79.  
  80.  
  81.                 -Phil Katz  1/14/87
  82.